Skip to content

Ensure the .whenEmbedded() build setting condition evaluates to false when building for non-Embedded without a fallback condition #1081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

stmontgomery
Copy link
Contributor

This fixes an unintended side effect from #1043 where the SWT_NO_LEGACY_TEST_DISCOVERY compilation conditional was being applied when building for non-Embedded.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

… when building for non-Embedded without a fallback condition
@stmontgomery stmontgomery added bug 🪲 Something isn't working embedded-swift 📟 Embedded Swift issues build 🧱 Affects the project's build configuration or process labels Apr 17, 2025
@stmontgomery stmontgomery added this to the Swift 6.x milestone Apr 17, 2025
@stmontgomery stmontgomery self-assigned this Apr 17, 2025
@stmontgomery
Copy link
Contributor Author

@swift-ci please test

@chrismiles chrismiles self-requested a review April 17, 2025 02:47
@stmontgomery
Copy link
Contributor Author

The macOS CI failure is expected to be resolved by swiftlang/swift#80830. Proceeding to merge, given this is a known issue.

@stmontgomery stmontgomery merged commit d75d0e3 into swiftlang:main Apr 17, 2025
2 of 3 checks passed
@stmontgomery stmontgomery deleted the when-embedded branch April 17, 2025 02:58
@stmontgomery stmontgomery modified the milestones: Swift 6.x, Swift 6.2 Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working build 🧱 Affects the project's build configuration or process embedded-swift 📟 Embedded Swift issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants